const routes = [
    {
    path: '/',
    redirect: '/home',
},
{
    name: 'home',
    path: '/home',
    component: () =>
        import ('@/pages/home/index'),
    meta: {
        iskeep: false,
        title: "首页"
    }
},
{
    name: 'home/analyze',
    path: '/home/analyze',
    component: () =>
        import ('@/pages/home/analyze/index'),
    meta: {
        iskeep: false,
        title: "首页/分析"
    }
},
{
    name: 'home/agility',
    path: '/home/agility',
    component: () =>
        import ('@/pages/home/agility/index'),
    meta: {
        iskeep: false,
        title: "首页/敏捷看板"
    }
},
{
    path: '*',
    redirect: () => {
        window.location.href = process.env.NODE_ENV === 'development' ? '/home' : '/404'
    }
}
]
export default routes
